import re
original_block_head = "modifier"

regex_pattern ='(' + original_block_head + ' = \\{.*?\\})'
print(regex_pattern)